import Mock from 'mockjs'
// import navAPI from './nav'
// import AccountAPI from './account'
// import DriverAPI from './driver'
// import TenantAPI from './tenant'
// import WaybillAPI from './shipOrder'
// import TenantAPI from './tenant'
// import FleetAPI from './fleet'
// import WaybillAPI from './shipOrder'
// import AttachApi from './attach'

Mock.setup({
  timeout: '350-600'
})

// 账号相关（注册、登录、获取、修改）
// Mock.mock(/\/oauth\/token/, 'post', AccountAPI.getSsoToken) // ssoToken
// Mock.mock(/\/driver\/login/, 'get', AccountAPI.getLogin) // driver-login
// Mock.mock(/\/lsp\/getLspInfo/, 'get', AccountAPI.getAccountInfo) // admin账号详细信息

// // 司机相关
// Mock.mock(/\/driver\/getDriverCertification/, 'get', DriverAPI.getInfoIsFill) // 司机认证状态
// Mock.mock(/\/driver\/getDriver/, 'get', DriverAPI.getDriver) // 司机信息
// Mock.mock(/\/driver\/getOriginCity/, 'get', DriverAPI.getOriginCity) // 起运地 查询城市（中联业务范围）

// admin账号相关
// Mock.mock(/\/lsp\/getLspInfo/, 'get', TenantApi.getLspByTeantId) // 公司信息

// 获取nav相关
// Mock.mock(/\/permission\/firstMenu/, 'get', navAPI.firstMenu)
// Mock.mock(/\/permission\/subMenu/, 'get', navAPI.subMenu)

// 运单相关
// Mock.mock(/\/ship\/shiplistbydriverId/, 'post', WaybillAPI.getWaybillList)  // 司机 运单列表
// Mock.mock(/\/ship\/getShipDeteailById\/2/, 'get', WaybillAPI.getWaybillListDetail) // 司机 运单详情-认输任务

// 管理员账号(公司)
// Mock.mock(/\/fleet\/fleetLine/, 'post', TenantAPI.companyFleetList) // 公司下车队列表

// 管理员账号(公司-车队)
// Mock.mock(/\/fleet\/queryBindDataList\/driver/, 'post', FleetAPI.fleetDriverList) // 公司下车队列表 /fleet/queryBindDataList/driver
// Mock.mock(/\/fleet\/queryBindDataList\/trailer/, 'post', FleetAPI.fleetTarrierList) // 公司下车队列表 /fleet/queryBindDataList/trailer
// Mock.mock(/\/fleet\/queryBindDataList\/carrier/, 'post', FleetAPI.fleetCarrierList) // 公司下车队列表 /fleet/queryBindDataList/carrier

// 附件存储
// Mock.mock(/\/shipmentAttach\/photo/, 'post', AttachApi.updateShipmentAttach) // update司机-运单-(发车确认、异常事故)附件信息存储

export default Mock
